-- GENERATED SPELL FOR [Zim'Torga Guardian] --


function spell0_28863(pUnit, Event) --@Frostbolt,n/a--
pUnit:FullCastSpellOnTarget(23102,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28863', 5000, 1)
end

function Sorts_28863(pUnit, Event)
local choix_sorts_28863 = math.random(0, 0)
if choix_sorts_28863 == 0 then
pUnit:RegisterEvent('spell0_28863', 1, 1)
end
end

function mob28863_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28863', math.random(1500, 3000), 1)
end

function mob28863_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28863_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28863_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28863, 1, 'mob28863_Action')
RegisterUnitEvent(28863, 2, 'mob28863_Leave')
RegisterUnitEvent(28863, 3, 'mob28863_Kill')
RegisterUnitEvent(28863, 4, 'mob28863_Die')
